package com.zg.scf.domain.req;

import com.zg.common.core.req.AddReq;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import java.util.Date;

/**
 * DESCRIPTION
 *
 * @author zhanfeng.liang
 * @since 2025-07-23
 */

@Data
@ApiModel(value = "审核记录AddReq", description = "审核记录新增参数")
public class AuditRecordAddReq extends AddReq {


    @ApiModelProperty(value = "关联对象ID", example = "1001")
    @NotNull(message = "关联对象ID不能为空")
    private Long targetId;

    @ApiModelProperty(value = "对象类型（如：融资企业、银行）", example = "融资企业")
    @NotEmpty(message = "对象类型不能为空")
    private String targetType;

    @ApiModelProperty(value = "操作类型", example = "提交审核")
    @NotEmpty(message = "操作类型不能为空")
    private String targetAction;

    @ApiModelProperty(value = "操作前状态", example = "待审核")
    @NotEmpty(message = "操作前状态不能为空")
    private String prevState;

    @ApiModelProperty(value = "操作后状态", example = "审核通过")
    private String currentState;

    @ApiModelProperty(value = "备注信息", example = "补充说明...")
    private String remark;

    @ApiModelProperty(value = "操作时间", example = "2025-07-23 10:00:00")
    private Date opTime;

    @ApiModelProperty(value = "操作结果（提交/同意/拒绝等）", example = "同意")

    private String opResult;


}
